iShell Help
Tribeworks > iShell > Commands >
  Tell Field
   
The Tell Field command is used to change the text contents and the selection of a Field element. The Focus command will set the focus so that the selection is immediately highlighted.

Options

  • Target Argument: Only Field elements can be targeted. The Tell Text command can be used to do the same kinds of operations on Text elements.
  • Action
    • Find: If the string argument is found, then it is selected and the results are true, otherwise the current selection stays the same and the results are false.
      • First: Searches forwards from the first character in the Field.
      • Last: Searches backwards from the last character in the Field.
      • Next: Searches forwards from the end of the current selection.
      • Previous: Searches backwards from front of the current selection.
    • Get Text:
      • All: Returns all the text in the Field.
      • Range: Returns a length of characters starting at a position.
      • Selection: Returns all the selected characters.
    • Select:
      • All: Selects all the text in the Field
      • Range: Selects a length of characters starting at a position.
    • Set Text:
      • All: Replaces all the text in the Field with the string argument.
      • Range: Replaces a length of characters starting at a position with the string argument.
      • Selection: Replaces all the selected characters with the string argument.